package com.zte.claa.inficombo.csa.app.service.gprs.bean;

public class GPRSDevRegRsp {
	private byte   msgtype;
	private byte   result;
	private byte   reason;
	private String deveui;
	
	public GPRSDevRegRsp(){
		msgtype = 0x11;
		result  = 0x00;
		reason  = 0x00;
	}

	public int getRegRspPayLen() {
		return 3;
	}
	
	public String getDeveui() {
		return deveui;
	}


	public void setDeveui(String deveui) {
		this.deveui = deveui;
	}


	public byte getMsgtype() {
		return msgtype;
	}

	public void setMsgtype(byte msgtype) {
		this.msgtype = msgtype;
	}

	public byte getResult() {
		return result;
	}

	public void setResult(byte result) {
		this.result = result;
	}

	public byte getReason() {
		return reason;
	}

	public void setReason(byte reason) {
		this.reason = reason;
	}

	public String toString(){
		StringBuilder sb = new StringBuilder();
		sb.append("msgtype: ").append(this.msgtype).append("\n");
		sb.append("result: ").append(this.result).append("\n");
		sb.append("reason: ").append(this.reason);
		return sb.toString();
	}
}
